package com.example.adnroidstyle;

import android.content.Context;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.widget.EditText;

/**
 * Created by Administrator on 2015/10/24.
 */
public class MyEditText extends EditText {

	public MyEditText(Context context, AttributeSet attrs) {
		super(context, attrs);

		DisplayMetrics dm =getResources().getDisplayMetrics();
		int w_screen = dm.widthPixels;
		int h_screen = dm.heightPixels;
	}

}
